<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: PhysicalNode::ENodeB Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_physical_node.html">PhysicalNode</a>      </li>
      <li class="navelem"><a class="el" href="class_physical_node_1_1_e_node_b.html">ENodeB</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">PhysicalNode::ENodeB Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="PhysicalNode::ENodeB" --><!-- doxytag: inherits="PhysicalNode::PhysicalNode" -->
<p><code>#include &lt;<a class="el" href="_e_node_b_8h_source.html">ENodeB.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PhysicalNode::ENodeB:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_physical_node_1_1_e_node_b.png" usemap="#PhysicalNode::ENodeB_map" alt=""/>
  <map id="PhysicalNode::ENodeB_map" name="PhysicalNode::ENodeB_map">
<area href="class_physical_node_1_1_physical_node.html" alt="PhysicalNode::PhysicalNode" shape="rect" coords="0,0,174,24"/>
</map>
 </div></div>

<p><a href="class_physical_node_1_1_e_node_b-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#ad15f75f973745caae604b4fac2724ef3">ENodeB</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a789ffae9f22054261bec28738b9db8c1">ENodeB</a> (<a class="el" href="class_basic_1_1_position.html">Basic::Position</a> p, int id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a4af52f28e8ce2aba5af222860f4793d7">~ENodeB</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a6966da3a024673809f214dc579935424">setParameters</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a772b222c74d1a0944cda45ce2616efc7">initialize</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a474ea5395f256994a9cfad1aabc91b03">getGain</a> (const double theta)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#af3e61e2a65a294eaae69a38e9924710b">setPhysicalLayer</a> (<a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *pl)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a5fe75248ae4857f119b4705606a926d6">addUser</a> (int userId)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a4c269bf7f52ab3ca7a08341d3bb12d40">getNumberLinks</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a46a9bbf801d5d8b6880cf464c1ebbaa7">scheduleUsers</a> (int Direction)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#add241d2c740cbd14cf970fe9fbebc549">setSchedulingAlgorithm</a> (<a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">Scheduler::SchedulingAlgorithm</a> *sa)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a6c0dd4e23c602896e2a93678f69649d7">transmit</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#ae947bbec7a47e8b14f166b9c263ca47e">getNumberPRBs</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a8bfd1f5fd5be5dc68256f517276aa9b2">getNumberSlots</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#aa57b09430c148ab806694fabc7721c55">getScheduledUserId</a> (int slot, int prb)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a7c24988911a189e6c146418b1ddf7809">getTransmittedPower</a> (double Frequency)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a4cf5e0d891a40be74f2af64157ada2c8">getFrequency</a> (int slot, int prb)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#abaccdc5737206c7d85eea220709b8004">informUserFrequencies</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1eee4eb1fa6a664788c15a5b097997d"></a><!-- doxytag: member="PhysicalNode::ENodeB::getPhysicalLayer" ref="ac1eee4eb1fa6a664788c15a5b097997d" args="()" -->
<a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getPhysicalLayer</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#acc262fe2a29d9557270177b00bb5bd93">getNumberLinkedUsers</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#acca62a76482906fa6f9fab7e1c60291f">getLinkedUserId</a> (int index)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a6c568e374d47a38b28a953a8f6446a76">reuse_</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a8e6217e125ce323fd5918d6f3c19ac63">physicalLayer_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">ivec&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a1e09f6288a4ffe76b809e31dbd7c8fa9">linkedUsers_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">Scheduler::SchedulingAlgorithm</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_physical_node_1_1_e_node_b.html#a6288bfec0f52b2710326383356766cd7">schedulingAlgorithm_</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_physical_node_1_1_e_node_b.html">ENodeB</a> Class. Detailed description. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad15f75f973745caae604b4fac2724ef3"></a><!-- doxytag: member="PhysicalNode::ENodeB::ENodeB" ref="ad15f75f973745caae604b4fac2724ef3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_physical_node_1_1_e_node_b.html#ad15f75f973745caae604b4fac2724ef3">PhysicalNode::ENodeB::ENodeB</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor. Creates a generic <a class="el" href="class_physical_node_1_1_e_node_b.html">ENodeB</a>. </p>

</div>
</div>
<a class="anchor" id="a789ffae9f22054261bec28738b9db8c1"></a><!-- doxytag: member="PhysicalNode::ENodeB::ENodeB" ref="a789ffae9f22054261bec28738b9db8c1" args="(Basic::Position p, int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_physical_node_1_1_e_node_b.html#ad15f75f973745caae604b4fac2724ef3">PhysicalNode::ENodeB::ENodeB</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_basic_1_1_position.html">Basic::Position</a>&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Defines the position and the ID of <a class="el" href="class_physical_node_1_1_e_node_b.html">ENodeB</a>. </p>

</div>
</div>
<a class="anchor" id="a4af52f28e8ce2aba5af222860f4793d7"></a><!-- doxytag: member="PhysicalNode::ENodeB::~ENodeB" ref="a4af52f28e8ce2aba5af222860f4793d7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_physical_node_1_1_e_node_b.html#a4af52f28e8ce2aba5af222860f4793d7">PhysicalNode::ENodeB::~ENodeB</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor. Detailed description. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5fe75248ae4857f119b4705606a926d6"></a><!-- doxytag: member="PhysicalNode::ENodeB::addUser" ref="a5fe75248ae4857f119b4705606a926d6" args="(int userId)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#a5fe75248ae4857f119b4705606a926d6">PhysicalNode::ENodeB::addUser</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>userId</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calls addUser from <a class="el" href="class_physical_node_1_1_user.html">User</a>. </p>

</div>
</div>
<a class="anchor" id="a4cf5e0d891a40be74f2af64157ada2c8"></a><!-- doxytag: member="PhysicalNode::ENodeB::getFrequency" ref="a4cf5e0d891a40be74f2af64157ada2c8" args="(int slot, int prb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_physical_node_1_1_e_node_b.html#a4cf5e0d891a40be74f2af64157ada2c8">PhysicalNode::ENodeB::getFrequency</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>prb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a frequency. </p>

</div>
</div>
<a class="anchor" id="a474ea5395f256994a9cfad1aabc91b03"></a><!-- doxytag: member="PhysicalNode::ENodeB::getGain" ref="a474ea5395f256994a9cfad1aabc91b03" args="(const double theta)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_physical_node_1_1_e_node_b.html#a474ea5395f256994a9cfad1aabc91b03">PhysicalNode::ENodeB::getGain</a> </td>
          <td>(</td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>theta</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns antenna gain. </p>

<p>Reimplemented from <a class="el" href="class_physical_node_1_1_physical_node.html#a704f69acf7f13066f7445044166003bb">PhysicalNode::PhysicalNode</a>.</p>

</div>
</div>
<a class="anchor" id="acca62a76482906fa6f9fab7e1c60291f"></a><!-- doxytag: member="PhysicalNode::ENodeB::getLinkedUserId" ref="acca62a76482906fa6f9fab7e1c60291f" args="(int index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#acca62a76482906fa6f9fab7e1c60291f">PhysicalNode::ENodeB::getLinkedUserId</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the ID of the linked user. </p>

</div>
</div>
<a class="anchor" id="acc262fe2a29d9557270177b00bb5bd93"></a><!-- doxytag: member="PhysicalNode::ENodeB::getNumberLinkedUsers" ref="acc262fe2a29d9557270177b00bb5bd93" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#acc262fe2a29d9557270177b00bb5bd93">PhysicalNode::ENodeB::getNumberLinkedUsers</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of users on the <a class="el" href="class_physical_node_1_1_e_node_b.html">ENodeB</a>. </p>

</div>
</div>
<a class="anchor" id="a4c269bf7f52ab3ca7a08341d3bb12d40"></a><!-- doxytag: member="PhysicalNode::ENodeB::getNumberLinks" ref="a4c269bf7f52ab3ca7a08341d3bb12d40" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#a4c269bf7f52ab3ca7a08341d3bb12d40">PhysicalNode::ENodeB::getNumberLinks</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return number of links. </p>

</div>
</div>
<a class="anchor" id="ae947bbec7a47e8b14f166b9c263ca47e"></a><!-- doxytag: member="PhysicalNode::ENodeB::getNumberPRBs" ref="ae947bbec7a47e8b14f166b9c263ca47e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#ae947bbec7a47e8b14f166b9c263ca47e">PhysicalNode::ENodeB::getNumberPRBs</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of Physical Resource Blocks. </p>

</div>
</div>
<a class="anchor" id="a8bfd1f5fd5be5dc68256f517276aa9b2"></a><!-- doxytag: member="PhysicalNode::ENodeB::getNumberSlots" ref="a8bfd1f5fd5be5dc68256f517276aa9b2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#a8bfd1f5fd5be5dc68256f517276aa9b2">PhysicalNode::ENodeB::getNumberSlots</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of Slots. </p>

</div>
</div>
<a class="anchor" id="aa57b09430c148ab806694fabc7721c55"></a><!-- doxytag: member="PhysicalNode::ENodeB::getScheduledUserId" ref="aa57b09430c148ab806694fabc7721c55" args="(int slot, int prb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#aa57b09430c148ab806694fabc7721c55">PhysicalNode::ENodeB::getScheduledUserId</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>prb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the ID of the scheduled user defined by the parameters. </p>

</div>
</div>
<a class="anchor" id="a7c24988911a189e6c146418b1ddf7809"></a><!-- doxytag: member="PhysicalNode::ENodeB::getTransmittedPower" ref="a7c24988911a189e6c146418b1ddf7809" args="(double Frequency)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_physical_node_1_1_e_node_b.html#a7c24988911a189e6c146418b1ddf7809">PhysicalNode::ENodeB::getTransmittedPower</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>Frequency</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the Transmited power. </p>
<p>cout &lt;&lt; Frequency&lt;&lt;" Sector - "&lt;&lt; sector_ &lt;&lt; endl; </p>

</div>
</div>
<a class="anchor" id="abaccdc5737206c7d85eea220709b8004"></a><!-- doxytag: member="PhysicalNode::ENodeB::informUserFrequencies" ref="abaccdc5737206c7d85eea220709b8004" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#abaccdc5737206c7d85eea220709b8004">PhysicalNode::ENodeB::informUserFrequencies</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the <a class="el" href="class_physical_node_1_1_user.html">User</a> frequencies. </p>

</div>
</div>
<a class="anchor" id="a772b222c74d1a0944cda45ce2616efc7"></a><!-- doxytag: member="PhysicalNode::ENodeB::initialize" ref="a772b222c74d1a0944cda45ce2616efc7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#a772b222c74d1a0944cda45ce2616efc7">PhysicalNode::ENodeB::initialize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Initializes the <a class="el" href="class_physical_node_1_1_e_node_b.html">ENodeB</a>. Defining reuse_, device_ (Direction_ ==0, device_ = <a class="el" href="class_physical_node_1_1_transmitter.html">Transmitter</a>, else, <a class="el" href="class_physical_node_1_1_receiver.html">Receiver</a>). Defining site_, sector_, rawBits_, effectiveBits_. </p>

</div>
</div>
<a class="anchor" id="a46a9bbf801d5d8b6880cf464c1ebbaa7"></a><!-- doxytag: member="PhysicalNode::ENodeB::scheduleUsers" ref="a46a9bbf801d5d8b6880cf464c1ebbaa7" args="(int Direction)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#a46a9bbf801d5d8b6880cf464c1ebbaa7">PhysicalNode::ENodeB::scheduleUsers</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>Direction</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Schedule Users. </p>

</div>
</div>
<a class="anchor" id="a6966da3a024673809f214dc579935424"></a><!-- doxytag: member="PhysicalNode::ENodeB::setParameters" ref="a6966da3a024673809f214dc579935424" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#a6966da3a024673809f214dc579935424">PhysicalNode::ENodeB::setParameters</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Defines reuse_. </p>

</div>
</div>
<a class="anchor" id="af3e61e2a65a294eaae69a38e9924710b"></a><!-- doxytag: member="PhysicalNode::ENodeB::setPhysicalLayer" ref="af3e61e2a65a294eaae69a38e9924710b" args="(PhysicalLayer::PhysicalLayer *pl)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#af3e61e2a65a294eaae69a38e9924710b">PhysicalNode::ENodeB::setPhysicalLayer</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a> *&#160;</td>
          <td class="paramname"><em>pl</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calls setPhysicalLayer from <a class="el" href="namespace_physical_layer.html">PhysicalLayer</a>. </p>

</div>
</div>
<a class="anchor" id="add241d2c740cbd14cf970fe9fbebc549"></a><!-- doxytag: member="PhysicalNode::ENodeB::setSchedulingAlgorithm" ref="add241d2c740cbd14cf970fe9fbebc549" args="(Scheduler::SchedulingAlgorithm *sa)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#add241d2c740cbd14cf970fe9fbebc549">PhysicalNode::ENodeB::setSchedulingAlgorithm</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">Scheduler::SchedulingAlgorithm</a> *&#160;</td>
          <td class="paramname"><em>sa</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set Schedulling Algorithm. </p>

</div>
</div>
<a class="anchor" id="a6c0dd4e23c602896e2a93678f69649d7"></a><!-- doxytag: member="PhysicalNode::ENodeB::transmit" ref="a6c0dd4e23c602896e2a93678f69649d7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_physical_node_1_1_e_node_b.html#a6c0dd4e23c602896e2a93678f69649d7">PhysicalNode::ENodeB::transmit</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The trasmition consists in defining rawBits_ and effectiveBits_. </p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a1e09f6288a4ffe76b809e31dbd7c8fa9"></a><!-- doxytag: member="PhysicalNode::ENodeB::linkedUsers_" ref="a1e09f6288a4ffe76b809e31dbd7c8fa9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ivec <a class="el" href="class_physical_node_1_1_e_node_b.html#a1e09f6288a4ffe76b809e31dbd7c8fa9">PhysicalNode::ENodeB::linkedUsers_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vector with linked users. </p>

</div>
</div>
<a class="anchor" id="a8e6217e125ce323fd5918d6f3c19ac63"></a><!-- doxytag: member="PhysicalNode::ENodeB::physicalLayer_" ref="a8e6217e125ce323fd5918d6f3c19ac63" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_physical_layer_1_1_physical_layer.html">PhysicalLayer::PhysicalLayer</a>* <a class="el" href="class_physical_node_1_1_e_node_b.html#a8e6217e125ce323fd5918d6f3c19ac63">PhysicalNode::ENodeB::physicalLayer_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Pointer to physicalLayer </p>

</div>
</div>
<a class="anchor" id="a6c568e374d47a38b28a953a8f6446a76"></a><!-- doxytag: member="PhysicalNode::ENodeB::reuse_" ref="a6c568e374d47a38b28a953a8f6446a76" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="class_physical_node_1_1_e_node_b.html#a6c568e374d47a38b28a953a8f6446a76">PhysicalNode::ENodeB::reuse_</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Inteiro para capturar o reuso </p>

</div>
</div>
<a class="anchor" id="a6288bfec0f52b2710326383356766cd7"></a><!-- doxytag: member="PhysicalNode::ENodeB::schedulingAlgorithm_" ref="a6288bfec0f52b2710326383356766cd7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_scheduler_1_1_scheduling_algorithm.html">Scheduler::SchedulingAlgorithm</a>* <a class="el" href="class_physical_node_1_1_e_node_b.html#a6288bfec0f52b2710326383356766cd7">PhysicalNode::ENodeB::schedulingAlgorithm_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Pointer to schedulingAlgorithm </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>PhysicalNode/<a class="el" href="_e_node_b_8h_source.html">ENodeB.h</a></li>
<li>PhysicalNode/<a class="el" href="_e_node_b_8cpp.html">ENodeB.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:39 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
